

<html>
	<head>
	<title>Circular</title>
	
		<script type="text/javascript">
			function onUpdateArticles(id){
				alert("admin press notes");
				 if('-1' == document.getElementById("Services123").value){
					   alert("please select service.");
				   }else if('' == document.getElementById("Slnumber").value){
					   alert("please Enter Slnumber.");
				   }else if('' == document.getElementById("Subject").value){
					   alert("please Write Subject.");
				   }else if('' == document.getElementById("Notes").value){
					   alert("please Write Notes.");
				   }
				 
				   
				   if (window.XMLHttpRequest)
					  {
						// code for IE7+, Firefox, Chrome, Opera, Safari
					   xmlhttp=new XMLHttpRequest();
					  }
					else
					  {
						// code for IE6, IE5
					  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
					  }
					xmlhttp.onreadystatechange=function()
					  {
					  if (xmlhttp.readyState==4 && xmlhttp.status==200)
					     {
					    document.getElementById("myDiv").innerHTML=xmlhttp.responseText;
					    }
					  }
					
									
					var Services = document.getElementById("Services123");
					var Slnumber1 = document.getElementById("Slnumber");
					var Subject = document.getElementById("Subject");
					var Notes = document.getElementById("Notes");
					var Date1 = document.getElementById("date1");
					var EFD = document.getElementById("EFD");
					
					alert(Services);
					xmlhttp.open("GET","circular.do?Services="+Services.value+"&Slnumber="+Slnumber1.value+"&Subject="+Subject.value+"&Notes="+Notes.value+"&methodid="+id+"&Date1="+Date1.value+"&EFD="+EFD.value,true);
					xmlhttp.send();

				    
				}
		</script>
	
	</head>
	
	
	<table>
		<tr>
			<td width="250px" style="padding-left:3px;padding-right:3px;padding-bottom:3px;padding-top:3px"><h1><font color="red">Press Notes</font></h1></td>
		</tr>
	</table>
	
		<table width="600" align="center" border="0" cellspacing ="0" cellpadding="0" valign="middle" id="answer1">
    <tr>
        <td width="250px" style="padding-left:3px;padding-right:3px;padding-bottom:3px;padding-top:3px"><div id="myDiv"></div></td>
    </tr>
	</table>
	<table>
		
		<tr>
			<td width="150px" style="padding-left:3px;padding-right:3px;padding-bottom:3px;padding-top:3px"><h2>Services</h2></td>
			<td width="450px" style="padding-left:3px;padding-right:3px;padding-bottom:3px;padding-top:3px"><select  name="Services123" id="Services123">
			<option name="default" id="defaule" value="-1">-----------------------Select One--------------------</option>
			<option name="1" id="1" value="1" title="Service1">FDI</option>
			<option name="2" id="" value="" title="Service2">Transfer Tool</option>
			<option name="3" id="2" value="2" title="Service3">Immovable In India</option>
			<option name="4" id="11" value="11" title="Service4">Foreign Exchange</option>
			<option name="5" id="8" value="8" title="Service5">Immovable Outside India</option>
			<option name="6" id="7" value="7" title="Service6">ODI Main</option>
			<option name="7" id="3" value="3" title="Service7">Branch Lo Po In India</option>
			<option name="8" id="9" value="9" title="Service8">ODI Individual</option>
			</select>
			</td>
		</tr>
		
		<tr>
			<td width="150px" style="padding-left:3px;padding-right:3px;padding-bottom:3px;padding-top:3px"><h2>Sl Number</h2></td>
			<td width="450px" style="padding-left:3px;padding-right:3px;padding-bottom:3px;padding-top:3px"><input type="text" name="Slnumber" size="60" id="Slnumber"></td>
		</tr>
		<tr>
			<td width="150px" style="padding-left:3px;padding-right:3px;padding-bottom:3px;padding-top:3px"><h2>Series</h2></td>
			<td width="450px" style="padding-left:3px;padding-right:3px;padding-bottom:3px;padding-top:3px"><textarea  name="Subject" id="Subject" rows="5" cols="60"></textarea></td>
		</tr>
		
		<tr>
			<td width="150px" style="padding-left:3px;padding-right:3px;padding-bottom:3px;padding-top:3px"><h2>Date</h2></td>
			<td width="450px" style="padding-left:3px;padding-right:3px;padding-bottom:3px;padding-top:3px"><input type="text"  class="datepicker" name="date1" id="date1" ></td>
		</tr>
		<tr>
			<td width="150px" style="padding-left:3px;padding-right:3px;padding-bottom:3px;padding-top:3px"><h2>Notes Summary</h2></td>
			<td width="450px" style="padding-left:3px;padding-right:3px;padding-bottom:3px;padding-top:3px"><textarea  name="Notes" id="Notes" rows="5" cols="60"></textarea></td>
		</tr>
		<tr>
			<td width="150px" style="padding-left:3px;padding-right:3px;padding-bottom:3px;padding-top:3px"><h2>Effective Date</h2></td>
			<td width="450px" style="padding-left:3px;padding-right:3px;padding-bottom:3px;padding-top:3px"><input type="text"  class="datepicker" name="EFD" id="EFD" ></td>
		</tr>
		<tr>
		 	<td width="150px" style="padding-left:3px;padding-right:3px;padding-bottom:3px;padding-top:3px"><input type="button" name="updateFAQ" id="updaten" value="update" onclick="onUpdateArticles('PressNotes')"/></td>		
		</tr>
		</table>
		
</html>